home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000044_fdc@columbia.edu_Thu Apr 25 13:42:11 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
2KB
|
46 lines
Article: 13335 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: output command and flow control
Date: 25 Apr 2002 13:41:42 -0400
Organization: Columbia University
Lines: 29
Message-ID: <aa9f4m$fte$1@watsol.cc.columbia.edu>
References: <a228ca9f.0204250831.51991287@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1019756504 15188 128.59.39.139 (25 Apr 2002 17:41:44 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Apr 2002 17:41:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13335
In article <a228ca9f.0204250831.51991287@posting.google.com>,
ALB <casimir@roar.com> wrote:
: What happens when I do an "output" command when the remote modem is not
: able to receive data (its RTS is ON, and intermediate buffers are all
: full)? (I suppose the flow control is operational on both sides.)
:
It depends on many factors: the computer, the operating system, the type
of modem (internal or external), if external the modem cable, the type
of flow control.
If both the modem and Kermit have been configured for RTS/CTS flow
control, and the modem is not asserting CTS, the OUTPUT command will not
return until the modem turns on CTS so the device driver can send the
data. If CTS is on, the OS will send the data and the OUTPUT command
will return immediately.
: Is there a solution to know before performing the output, how many
: bytes can be sent ?
:
Kermit does not have any feature like this, and most operating systems
don't have it either. Anyway, it can depend on factors outside the
computer. CTS from the modem means "it's OK to send". But the modem
might have a buffer of only 40 bytes. If you send 60 bytes, either 20
will be lost, or the modem will turn off CTS after 40. It depends on
the modem, but Kermit and the computer have no way of knowing what the
modem will do, because it is a separate device.
- Frank